home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group92c.txt
/
000041_icon-group-sender _Wed Oct 28 16:00:53 1992.msg
< prev
next >
Wrap
Internet Message Format
|
1993-01-04
|
1KB
Received: by cheltenham.cs.arizona.edu; Wed, 28 Oct 1992 17:20:18 MST
Date: Wed, 28 Oct 92 16:00:53 MST
From: whm@shepard.sunquest.com (Bill Mitchell)
Message-Id: <9210282300.AA21824@shepard.sunquest.com>
To: icon-group@cs.arizona.edu
Subject: Re: semicolons
Status: R
Errors-To: icon-group-errors@cs.arizona.edu
From: ralph@cs.arizona.edu
Date: Wed, 28 Oct 92 09:42:25 MST
Subject: semicolons
...
The wisdom on idiomatic Icon programming is that semicolons should
never appear (syntactically) in Icon programs.
I got curious and searched all my Icon programs for semicolons. Grand total:
one semicolon not counting occurrences in string and cset literals.
I haven't followed the mail on this topic closely, so apologies if a repeat,
but there is that problem with an operator that has both a binary and a
unary form appearing at the end of line versus the beginning of the next
line. Example:
procedure main()
return 1 +
2
end
vs.
procedure main()
return 1
+ 2
end
(Try 'em with tracing on!)